package org.example.demo.service;

import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.usermodel.WorkbookFactory;
import org.example.demo.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lining
 * @since 2023-11-24
 */
public interface StudentService extends IService<Student> {
    
    
   

    void saveExcel(MultipartFile file, StudentService studentService);


    byte[] exportToExcel();

    void importExcelData(MultipartFile file);

//    void importData(MultipartFile file) throws IOException;


}
